package com.yisu.auction.api.core.service.impl;

import com.yisu.auction.api.core.mapper.AdvertisementMapper;
import com.yisu.auction.api.core.service.IAdvertisementService;
import com.yisu.auction.api.domain.request.indexPackage.AdvertisementRequest;
import com.yisu.auction.api.domain.vo.indexPackageVos.AdvertisementVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * author: 赵杰
 * Business Description：广告位业务逻辑
 * createTime：2017/8/11
 */
@Service("IAdvertisementService")
public class AdvertisementServiceImpl implements IAdvertisementService {
    @Resource
    private AdvertisementMapper advertisementMapper;
    /**
     * author: 赵杰
     * Business Description：获取首页广告位接口
     *
     * @param advertisementRequest 含AppSign
     * @return
     */
    @Override
    public List<AdvertisementVo> getAdvertisementList(AdvertisementRequest advertisementRequest) {
        return advertisementMapper.getAdvertisementList(advertisementRequest);
    }
}
